import { combineReducers } from 'redux'
import testReducer from "./test"
import { connectRouter } from 'connected-react-router'
import signupReducer from './signup'
import productReducer from './product'
import searchReducer from './search'
import filterReducer from './filter'
import productDetailReducer from './productDetail'


const createRootReducer = history => combineReducers({
  test: testReducer,
  router: connectRouter(history),
  signup: signupReducer,
  products: productReducer,
  search: searchReducer,
  filter: filterReducer,
  productdetail: productDetailReducer
})

export default createRootReducer 